package com.testfileupload.uploadimg.design.combination.optimization;

import com.testfileupload.uploadimg.design.combination.ILeaf;

import java.util.ArrayList;

public interface IBranch extends ICorp{
    //要能增加叶子节点
    public void  addSubordinate(ICorp corp);
    //要能够遍历查看
    public ArrayList<ICorp> getSubordinate();
}
